import { request } from '@/utils/request';

export function getClientSimpleList() {
  return request({
    url: '/queue/cust-mgr/get-client-simple-list',
    headers: {
      isToken: false
    },
    method: 'GET'
  });
}

export function findProCusRelNameByCusIds(params) {
  return request({
    url: '/queue/sale-waybill/find-proCus-relName-by-cusIds',
    headers: {
      isToken: false
    },
    method: 'GET',
    params
  });
}

export function getStatisticsTotal(params) {
  return request({
    url: '/report/purchase-waybill/statisticsTotal',
    headers: {
      isToken: false
    },
    method: 'GET',
    params
  });
}

export function getStatisticsPageForCX(params) {
  return request({
    url: '/report/purchase-waybill/statisticsPageForCX',
    headers: {
      isToken: false
    },
    method: 'GET',
    params
  });
}

export function getSellStatisticsTotal(params) {
  return request({
    url: '/report/sell-waybill/statisticsTotal',
    headers: {
      isToken: false
    },
    method: 'GET',
    params
  });
}

export function getStatisticsPageApp(params) {
  return request({
    url: '/report/sell-waybill/statisticsPageApp',
    headers: {
      isToken: false
    },
    method: 'GET',
    params
  });
}

// 获取客户产品列表（无分页）
export function getSaleSimpleSubtypeList(params) {
  return request({
    url: '/queue/coal-type-mgr/get-sale-simple-subtype-list',
    headers: {
      isToken: false
    },
    method: 'GET',
    params
  });
}
